#include "C_GS_Intro.h"
#include "C_FSM.h"

C_GS_Intro::C_GS_Intro()
{
	this->setType(GAME_STATE_INTRO);

	m_slideShow.push(new C_Slide("data/textures/box_none.png", 5, 1400));
	m_slideShow.push(new C_Slide("data/textures/logo_hah.png", 10, 2000));
}


C_GS_Intro::~C_GS_Intro()
{
}

void C_GS_Intro::handleEvent(sf::Event e)
{
	VC_Drawable::handleEvent(e);
	m_slideShow.handleEvent(e);
}

void C_GS_Intro::render()
{
	m_slideShow.render();
}

void C_GS_Intro::update()
{
	m_slideShow.update();
}
